<?php
$host = "localhost"; //database location
$user = "root"; //database username
$pass = ""; //database password
$dbName = "stallion"; //database name

$link = mysql_connect($host, $user, $pass) or die("Could not connect to my sql" . mysql_error()); //database connection
mysql_select_db($dbName);
?>